<?php
/**
 * Created by PhpStorm.
 * User: zengyong
 * Date: 2016-10-12
 * Time: 21:14
 */

namespace Home\Controller;

use Home\Model;
use Think\Controller;

class PurchaseController extends Controller {

    //购物首页
    public function index() {
        $purchase = D("purchase");
        $this->display();
    }

    public function tabpage() {
        $this->assign('test','wq');
        $this->display("purchase/tabpage");
    }
}